import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Antd from 'ant-design-vue'
import {Request} from "./network/request"
import toolCookie from "./tool/cookie"
// import 'ant-design-vue/dist/antd.css'
import 'ant-design-vue/dist/antd.less'
import "./tool/VanillaTilt.js"
import {getRoute} from "./tool/public"
import "swiper"


const app = createApp(App)
app.config.globalProperties.$request = Request
app.config.globalProperties.$cookie = toolCookie
app.config.globalProperties.$getRoute = getRoute
app.use(store).use(router).use(Antd).mount('#app')
